#include <iostream>
#include <string>
using namespace std;

typedef struct Edge
{
    int tailvex; // 弧出发
    int headvex; // 弧到达
    struct Edge* tlink; // 下一个尾节点相同的弧
    struct Edge* hlink; // 下一个头节点相同的弧
    int length; //路径长度（权重）
}Edge;

typedef struct
{
    string data; //景点介绍
    Edge* firstin; //以当前顶点为弧头的弧
    Edge *firstout; //以当前顶点为弧尾的弧
}Vertex;

int main()
{
    Vertex sceneries[10];
    sceneries[0].data = "西边田径场（被征用了）";
    sceneries[1].data = "东边田径场（破破烂烂）";
    sceneries[2].data = "一餐（教工餐厅）";
    sceneries[3].data = "二餐（风味餐厅）";
    sceneries[4].data = "三餐（早餐好吃）";
    sceneries[5].data = "五餐（比较一般）";
    sceneries[6].data = "六餐（五餐楼上）";
    sceneries[7].data = "六教（网不好）";
    sceneries[8].data = "图书馆（人满为患）";
    sceneries[9].data = "一教（在装修）";
    Edge paths[30];
    paths[0].tailvex = 0;
    paths[0].headvex = 2;
    paths[0].length = 100;
    paths[1].tailvex = 2;
    paths[1].headvex = 3;
    paths[1].length = 20;

}